﻿using System.Collections.Generic;
using Eagles.Application.Model.Enums;
using Eagles.Application.Model.Common;

namespace Eagles.Application.Model.News.EditUserNews
{
    /// <summary>
    /// 文章发布
    /// </summary>
    public class EditUserNewsRequest : RequestBase
    {
        /// <summary>
        /// 文章Id
        /// </summary>
        public int NewsId { get; set; }

        /// <summary>
        /// 新闻文章标题
        /// </summary>
        public string NewsTitle { get; set; }

        /// <summary>
        /// 文章类型 00:文章 01:心得体会 02:会议 03:入党申请
        /// </summary>
        public NewsEnum NewsType { get; set; }

        /// <summary>
        /// 新闻文章内容
        /// </summary>
        public string NewsContent { get; set; }

        /// <summary>
        /// 缩略图
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 入党介绍人
        /// </summary>
        public int ToUser { get; set; }

        /// <summary>
        /// 1:不公开 2 支部 3 组织
        /// </summary>
        public int IsPublic { get; set; }

        /// <summary>
        /// 心得体会书名
        /// </summary>
        public string BookName { get; set; }

        /// <summary>
        /// 心得体会书作者
        /// </summary>
        public string BookAuthor { get; set; }

        /// <summary>
        /// 附件列表
        /// </summary>
        public List<Attachment> AttachList { get; set; }
    }
}